<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<%@include file="/context/mytags.jsp" %>
<t:base type="jquery,easyui,tools,DatePicker"></t:base>
<div class="easyui-layout" fit="true">
    <div region="center" style="padding:0px;border:0px">
        <t:datagrid name="appHomeShopList" checkbox="true" pagination="true" fitColumns="true" title="首页企业专区" sortName="id" actionUrl="appHomeShopController.do?datagrid" idField="id" fit="true" queryMode="group">
            <t:dgCol title="系统编号" field="sysid" hidden="true" queryMode="single" width="120"></t:dgCol>
            <t:dgCol title="首页店铺编号" field="homeShopId" hidden="true" queryMode="single" width="120"></t:dgCol>
            <t:dgCol title="专区编号" field="shopId"  queryMode="single" width="120"></t:dgCol>
            <t:dgCol title="专区名称" field="shopName"  queryMode="single" width="120"></t:dgCol>
            <t:dgCol title="商铺类型" field="shopType" hidden="true" queryMode="single" width="120"></t:dgCol>
            <t:dgCol title="worktypeid" field="worktypeid" hidden="true" queryMode="group" width="120"></t:dgCol>
            <t:dgCol title="id" field="id" hidden="true" queryMode="group" width="120"></t:dgCol>
            <t:dgCol title="日期" field="createTime" hidden="true" formatter="yyyy-MM-dd" queryMode="group" width="120"></t:dgCol>
            <t:dgCol title="排序" field="shopOrder" queryMode="single" width="120"></t:dgCol>
            <t:dgCol title="操作" field="opt" width="50"></t:dgCol>

            <t:dgDelOpt title="删除" url="appHomeShopController.do?doDel&id={id}" urlclass="ace_button" urlfont="fa-trash-o"/>
            <t:dgToolBar title="录入" icon="icon-add" url="appHomeShopController.do?goAdd" funname="add"></t:dgToolBar>
            <t:dgToolBar title="编辑" icon="icon-edit" url="appHomeShopController.do?goUpdate" funname="update"></t:dgToolBar>
            <t:dgToolBar title="查看" icon="icon-search" url="appHomeShopController.do?goUpdate" funname="detail"></t:dgToolBar>
           <%--  <t:dgToolBar title="导出" icon="icon-putout" funname="ExportXls"></t:dgToolBar>
 --%>
            <%--   <t:dgToolBar title="批量删除"  icon="icon-remove" url="appHomeShopController.do?doBatchDel" funname="deleteALLSelect"></t:dgToolBar>--%>
            <%--   <t:dgToolBar title="导入" icon="icon-put" funname="ImportXls"></t:dgToolBar>--%>
            <%--   <t:dgToolBar title="模板下载" icon="icon-putout" funname="ExportXlsByT"></t:dgToolBar>--%>
        </t:datagrid>
    </div>
</div>
<script type="text/javascript">
    $(document).ready(function () {
    });


    //导入
    function ImportXls() {
        openuploadwin('Excel导入', 'appHomeShopController.do?upload', "appHomeShopList");
    }

    //导出
    function ExportXls() {
        JeecgExcelExport("appHomeShopController.do?exportXls", "appHomeShopList");
    }

    //模板下载
    function ExportXlsByT() {
        JeecgExcelExport("appHomeShopController.do?exportXlsByT", "appHomeShopList");
    }

</script>
